/******************************************************************************************
 
Made by www.Flashphoner.com, all rights reserved.
These sources can only be used for working with Flashphoner server.
If you want use this to create your own application (separate from Flashphoner server) � 
please contact support@flashphoner.com 

******************************************************************************************/

package com.flashphoner.phone
{
	import com.flashphoner.phone.views.IncomingView;
	import com.flashphoner.phone.views.MicrophoneSettingsView;
	import com.flashphoner.phone.views.PhoneButton;
	import com.flashphoner.phone.views.SipAccountView;
	import com.flashphoner.phone.views.VersionView;
	
	public class DataPhone
	{
		private static var data:DataPhone;
		public function DataPhone()
		{
		}
		public static function getInstance():DataPhone{
			if (data == null){
				data = new DataPhone();
			}
			return data;
		}
		public var isViewedAllowDialog = false;

		public var viewController:ViewControllerPhone = new ViewControllerPhone();
		
		public var incommingView:IncomingView = new IncomingView();
		
		public var phoneButton:PhoneButton;
		
		public var sipAccountView:SipAccountView = new SipAccountView();
		
		public var microphoneSettingsView:MicrophoneSettingsView = new MicrophoneSettingsView();
		
		public var versionView:VersionView;		
		
		public var stateCall:String;

	}
}